package com.kingdee.eas.lms.base.depbase;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class Dep2Factory
{
    private Dep2Factory()
    {
    }
    public static com.kingdee.eas.lms.base.depbase.IDep2 getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep2)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("2741509A") ,com.kingdee.eas.lms.base.depbase.IDep2.class);
    }
    
    public static com.kingdee.eas.lms.base.depbase.IDep2 getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep2)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("2741509A") ,com.kingdee.eas.lms.base.depbase.IDep2.class, objectCtx);
    }
    public static com.kingdee.eas.lms.base.depbase.IDep2 getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep2)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("2741509A"));
    }
    public static com.kingdee.eas.lms.base.depbase.IDep2 getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.lms.base.depbase.IDep2)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("2741509A"));
    }
}